package win.bigwhale.sudoku;


import javafx.geometry.Insets;
import javafx.scene.layout.Background;
import javafx.scene.layout.BackgroundFill;
import javafx.scene.layout.CornerRadii;
import javafx.scene.paint.Color;;

public final class SudokuUtil {
	private SudokuUtil() {}
	
	public static final double PLAY_FIELD_WIDTH = 455.0;
	public static final double GAME_FIELD_WIDTH = 755.0;
	public static final double GAME_FIELD_HEIGHT = 555.0;
	public static final double CONTROL_AND_INFO_PANE_WIDTH = 150.0;
	public static final double GAME_COMPONENT_MARGIN = 50.0;

	public static final double CONTROL_PANE_BUTTON_WIDTH = 100.0;
	public static final double CONTROL_PANE_BUTTON_HEIGHT = 30.0;

	public static final Color JIAOCHA_COLOR = new Color(86.0 / 255.0, 63.0 / 255.0, 46.0 / 255.0, 1.0);
	public static final Color CHANGPAN_COLOR = new Color(27.0 / 255.0, 129.0 / 255.0, 62.0 / 255.0, 1.0);
	public static final Color HUAQIANCONG_COLOR = new Color(42.0 / 255.0, 131.0 / 255.0, 162.0 / 255.0, 1.0);

	public static final String EASY_GRADE_GAME_FILE = "res/grade_easy";
	public static final String MEDIUM_GRADE_GAME_FILE = "res/grade_medium";
	public static final String HARD_GRADE_GAME_FILE = "res/grade_hard";
	public static final String IMPOSSIBLE_GRADE_GAME_FILE = "res/grade_impossible";

	public static final Color SELECT_RECT_COLOR = new Color(105.0 / 255.0, 176.0 / 255.0, 118.0 / 255.0, 0.5);
	public static final Color WARNING_SELECT_COLOR = new Color(1.0, 0.0, 0.0, 0.5);

	public static final String START_GAME_BUTTON = "Start";
	public static final String ABOUT_GAME_BUTTON = "About";
	public static final String PAUSE_GAME_BUTTON = "Pause";
	public static final String RESUME_GAME_BUTTON = "Resume";
	public static final String RESTART_GAME_BUTTON = "Restart";
	public static final String NEW_GAME_BUTTON = "New Game";
	public static final String END_GAME_BUTTON = "Give up";
	public static final String CHOOSE_GAME_STAGE_TITLE = "Choose level";
	public static final String GAME_TITLE = "Sudoku from win.bigwhale";
	public static final String CHOOSE_RANDOM_GAME_BUTTON_TITLE = "Random";
	public static final String CHOOSE_EASY_GAME_BUTTON_TITLE = "Easy";
	public static final String CHOOSE_MEDIUM_GAME_BUTTON_TITLE = "Medium";
	public static final String CHOOSE_HARD_GAME_BUTTON_TITLE = "Hard";
	public static final String CHOOSE_IMPOSSIBLE_GAME_BUTTON_TITLE = "Impossible";
	public static final String[] CHOOSE_GAME_GRADE_BUTTON_TITLES = {"Random", "Easy", "Medium", "Hard", "Impossible"};
	public static final int GAME_GRADE_COUNT = 4;

	public static final Background PANE_BACKGROUND = new Background(new BackgroundFill(Color.LIGHTGRAY, CornerRadii.EMPTY, Insets.EMPTY));

	public static final String WARNING_SOUND_PATH = "sounds/warning_sound.wav";
	public static final String BACKGROUND_SOUND_PATH = "sounds/we_ve_never_met_but_can_we_have_a_coffee_or_something.wav";
}
